<template>
  <div class="index">
    <m-head />
    <left-menu />
    <div class="right-container">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
import MHead from '../components/MHead'
import LeftMenu from '../components/LeftMenu'
export default {
  name: 'index',
  components: {
    MHead,
    LeftMenu
  }
}
</script>

<style lang="stylus" scoped>
.index {
  height: 100%;
  width: 100%;
  overflow: hidden;

  .right-container {
    position: relative;
    top: 0;
    left: 180px;
    width: calc(100% - 180px);
    height: calc(100% - 71px);
    overflow: auto;
  }
}
</style>
